<?php

class UserFavorite extends Eloquent{

	public $timestamps = false;
	
	protected $guarded = array('id');
	
	
	public function product(){
		//'local_key', 'parent_key');
		return $this->belongsTo('Products', 'product_id');
	}
	
	public function colorer(){
		return $this->belongsTo('ProductColors', 'color_id');
	}
	
	
	public function sizeer(){
		return $this->belongsTo('ProductSizes', 'size_id');
	}

}
